#ifndef CUSTOMIZECOLUMNDIALOG_H
#define CUSTOMIZECOLUMNDIALOG_H

#define ACCNUMBER_COL "ACCNUMBERCOL"
#define PATIENTID_COL "PATIENTIDCOL"
#define PATIENTNAME_COL "PATIENTNAMECOL"
#define PATIENTSEX_COL "PATIENTSEXCOL"
#define PATIENTBIRTH_COL "PATIENTBIRTHCOL"
#define PATIENTAGE_COL "PATIENTAGECOL"
#define REQPHYSICIAN_COL "REQPHYSICIANCOL"
#define REQPROCID_COL "REQPROCIDCOL"
#define REQPROCDESC_COL "REQPROCDESCCOL"
#define REQPROCPRIO_COL "REQPROCPRIOCOL"
#define MODALITY_COL "MODALITYCOL"
#define SCHPHYSICIAN_COL "SCHPHYSICIANCOL"
#define SCHSTATIONAE_COL "SCHSTATIONAECOL"
#define SCHSTATIONNAME_COL "SCHSTATIONNAMECOL"
#define SCHDATETIME_COL "SCHDATETIMECOL"
#define SCHPROCSTEPID_COL "SCHPROCSTEPIDCOL"
#define SCHPROCSTEPDESC_COL "SCHPROCSTEPDESCCOL"

#define ADMISSIONID_COL "ADMISSIONIDCOL"
#define MEDICALALERTS_COL "MEDICALALERTSCOL"
#define DEPARTMENT_COL "DEPARTMENTCOL"
#define PATIENTSIZE_COL "PATIENTSIZECOL"
#define PATIENTWEIGHT_COL "PATIENTWEIGHTCOL"
#define PATIENTPHONE_COL "PATIENTPHONECOL"
#define PATIENTADDR_COL "PATIENTADDRCOL"
#define CREATIONTIME_COL "CREATIONTIMECOL"
#define MODIFICATIONTIME_COL "MODIFICATIONTIMECOL"

#include <QDialog>
#include <QSettings>
class QTableView;

namespace Ui {
class CustomizeColumnDialog;
}

class CustomizeColumnDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CustomizeColumnDialog(QTableView *view, QWidget *parent = 0);
    ~CustomizeColumnDialog();

protected slots:
    void onDefault();
    void onStateChanged(int state);

private:
    void init();
    QSettings settings;
    QTableView *tableView;
    Ui::CustomizeColumnDialog *ui;
};

#endif // CUSTOMIZECOLUMNDIALOG_H
